package designpattern.responsibility;

public class ConcreteHandler1 extends Handler {

    @Override
    public void handlerRequest(Request request) {
        if (request.getLevel() <= 5) {
            logger.info("级别[" + request.getLevel() + "]在[" + getName() + "]这打住了,显示内容:"
                    + request.getContent());
            this.deal.put(request, true);
        }
    }

}
